/**	
 * <br>
 * Copyright 2011 IFlyTek. All rights reserved.<br>
 * <br>			 
 * Package: com.iflytek.xzzdry.base <br>
 * FileName: BasicSysCodeManager.java <br>
 * <br>
 * @version
 * @author hyzha@iflytek.com
 * @created 2012-5-6
 * @last Modified 
 * @history
 */
package com.iflytek.ci.base;

/**
 * 系统配置注入类
 * 
 * @author hyzha@iflytek.com
 * @created 2012-5-6 下午12:55:49
 * @lastModified
 * @history
 */
public class BasicSysCodeManager {

    /**
     * 平台根机构代码
     */
    private String dm;

    /**
     * 平台根机构名称
     */
    private String name;

    /**
     * 单位类型
     */
    private String dwtype;

    /**
     * db用户
     */
    private String dbUserName = "iflytek_db";

    /**
     * web用户
     */
    private String webUsername = "iflytek_web";
    
    /**
     * 调度任务自动刷新周期配置 单位：毫秒
     */
    private String scheduleAutoRefrehPeriod;
    
    /**
     * 判断当前环境是否用winhelper打开弹窗
     */
     private String winHelperOrNot;
     
     /**
      * 时空分析URL配置
      */
     private String skfxUrl;
     
     /**
      * 本地模型分析的真实路径
      */
     private String mxfxUrl;
    
    /**
     * @return 返回 dwtype.
     */
    public String getDwtype() {
        return dwtype;
    }

    /**
     * @param dwtype
     *            设置 dwtype
     */
    public void setDwtype(String dwtype) {
        this.dwtype = dwtype;
    }

    /**
     * @return 返回 dm.
     */
    public String getDm() {
        return dm;
    }

    /**
     * @param dm
     *            设置 dm
     */
    public void setDm(String dm) {
        this.dm = dm;
    }

    /**
     * @return 返回 name.
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     *            设置 name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * db用户
     */
    public String getDbUserName() {
        return dbUserName;
    }

    /**
     * @param dbUserName
     *            设置 dbUserName
     */
    public void setDbUserName(String dbUserName) {
        this.dbUserName = dbUserName;
    }

    /**
     * @return 返回 webUsername.
     */
    public String getWebUsername() {
        return webUsername;
    }

    /**
     * @param webUsername
     *            设置 webUsername
     */
    public void setWebUsername(String webUsername) {
        this.webUsername = webUsername;
    }


    /**
     * @return 返回 scheduleAutoRefrehPeriod.
     */
    public String getScheduleAutoRefrehPeriod() {
        return scheduleAutoRefrehPeriod;
    }

    /**
     * @param scheduleAutoRefrehPeriod 设置 scheduleAutoRefrehPeriod
     */
    public void setScheduleAutoRefrehPeriod(String scheduleAutoRefrehPeriod) {
        this.scheduleAutoRefrehPeriod = scheduleAutoRefrehPeriod;
    }
    
    public void init() {
        // SysCode.DB_NAME = this.dbUserName;
    }

    /**
     * @return 返回 winHelperOrNot.
     */
    public String getWinHelperOrNot() {
        return winHelperOrNot;
    }

    /**
     * @param winHelperOrNot 设置 winHelperOrNot
     */
    public void setWinHelperOrNot(String winHelperOrNot) {
        this.winHelperOrNot = winHelperOrNot;
    }

    /**
     * @return 返回 skfxUrl.
     */
    public String getSkfxUrl() {
        return skfxUrl;
    }

    /**
     * @param skfxUrl 设置 skfxUrl
     */
    public void setSkfxUrl(String skfxUrl) {
        this.skfxUrl = skfxUrl;
    }

    /**
     * @return 返回 mxfxUrl.
     */
    public String getMxfxUrl() {
        return mxfxUrl;
    }

    /**
     * @param mxfxUrl 设置 mxfxUrl
     */
    public void setMxfxUrl(String mxfxUrl) {
        this.mxfxUrl = mxfxUrl;
    }
}
